package Acwing.基础算法;

import java.util.Scanner;

/**
 * @Title: binary2
 * @Author 贾金博
 * @Package Acwing.基础算法
 * @Date 2025/4/8 下午10:49
 * @description: 小数二分
 */
public class binary2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();

        // 二分答案
        double l = -100, r = 100;
        while(l < r - 0.00000001) {
            double mid = (l + r) / 2.0;
            if(Math.pow(mid, 3) <= a) {
                l = mid;
            } else {
                r = mid;
            }
        }
        System.out.printf("%.6f", l);
        
    }
}
